	var is_weixin = (function() {
		var ua = navigator.userAgent.toLowerCase();
		if (ua.match(/MicroMessenger/i) == "micromessenger") {
			return true;
		} else {
			return false;
		}
	})();
	window.onload = function(){
		var winHeight = typeof window.innerHeight != 'undefined' ? window.innerHeight : document.documentElement.clientHeight;
	
		var tip = document.getElementById('weixin-tip');
		var close = document.getElementById('close');

		if(is_weixin){
				tip.style.height = winHeight + 'px';
				tip.style.display = 'block';
					
		}
	}
